Optimal. Leaf size=226 \[ \frac {b x^2 \sqrt {-1+c x} \sqrt {1+c x}}{4 c^3 d \sqrt {d-c^2 d x^2}}+\frac {x^3 \left (a+b \cosh ^{-1}(c x)\right )}{c^2 d \sqrt {d-c^2 d x^2}}+\frac {3 x \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{2 c^4 d^2}-\frac {3 \sqrt {-1+c x} \sqrt {1+c x} \left (a+b \cosh ^{-1}(c x)\right )^2}{4 b c^5 d \sqrt {d-c^2 d x^2}}-\frac {b \sqrt {-1+c x} \sqrt {1+c x} \log \left (1-c^2 x^2\right )}{2 c^5 d \sqrt {d-c^2 d x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.20, antiderivative size = 226, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 6, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {5934, 5938,
5892, 30, 84, 266} \begin {gather*} \frac {x^3 \left (a+b \cosh ^{-1}(c x)\right )}{c^2 d \sqrt {d-c^2 d x^2}}-\frac {3 \sqrt {c x-1} \sqrt {c x+1} \left (a+b \cosh ^{-1}(c x)\right )^2}{4 b c^5 d \sqrt {d-c^2 d x^2}}+\frac {3 x \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{2 c^4 d^2}-\frac {b \sqrt {c x-1} \sqrt {c x+1} \log \left (1-c^2 x^2\right )}{2 c^5 d \sqrt {d-c^2 d x^2}}+\frac {b x^2 \sqrt {c x-1} \sqrt {c x+1}}{4 c^3 d \sqrt {d-c^2 d x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 84
Rule 266
Rule 5892
Rule 5934
Rule 5938
Rubi steps
\begin {align*} \int \frac {x^4 \left (a+b \cosh ^{-1}(c x)\right )}{\left (d-c^2 d x^2\right )^{3/2}} \, dx &=-\frac {\left (\sqrt {-1+c x} \sqrt {1+c x}\right ) \int \frac {x^4 \left (a+b \cosh ^{-1}(c x)\right )}{(-1+c x)^{3/2} (1+c x)^{3/2}} \, dx}{d \sqrt {d-c^2 d x^2}}\\ &=\frac {x^3 \left (a+b \cosh ^{-1}(c x)\right )}{c^2 d \sqrt {d-c^2 d x^2}}-\frac {\left (3 \sqrt {-1+c x} \sqrt {1+c x}\right ) \int \frac {x^2 \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{c^2 d \sqrt {d-c^2 d x^2}}-\frac {\left (b \sqrt {-1+c x} \sqrt {1+c x}\right ) \int \frac {x^3}{-1+c^2 x^2} \, dx}{c d \sqrt {d-c^2 d x^2}}\\ &=\frac {x^3 \left (a+b \cosh ^{-1}(c x)\right )}{c^2 d \sqrt {d-c^2 d x^2}}+\frac {3 x (1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{2 c^4 d \sqrt {d-c^2 d x^2}}-\frac {\left (3 \sqrt {-1+c x} \sqrt {1+c x}\right ) \int \frac {a+b \cosh ^{-1}(c x)}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{2 c^4 d \sqrt {d-c^2 d x^2}}+\frac {\left (3 b \sqrt {-1+c x} \sqrt {1+c x}\right ) \int x \, dx}{2 c^3 d \sqrt {d-c^2 d x^2}}-\frac {\left (b \sqrt {-1+c x} \sqrt {1+c x}\right ) \text {Subst}\left (\int \frac {x}{-1+c^2 x} \, dx,x,x^2\right )}{2 c d \sqrt {d-c^2 d x^2}}\\ &=\frac {3 b x^2 \sqrt {-1+c x} \sqrt {1+c x}}{4 c^3 d \sqrt {d-c^2 d x^2}}+\frac {x^3 \left (a+b \cosh ^{-1}(c x)\right )}{c^2 d \sqrt {d-c^2 d x^2}}+\frac {3 x (1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{2 c^4 d \sqrt {d-c^2 d x^2}}-\frac {3 \sqrt {-1+c x} \sqrt {1+c x} \left (a+b \cosh ^{-1}(c x)\right )^2}{4 b c^5 d \sqrt {d-c^2 d x^2}}-\frac {\left (b \sqrt {-1+c x} \sqrt {1+c x}\right ) \text {Subst}\left (\int \left (\frac {1}{c^2}+\frac {1}{c^2 \left (-1+c^2 x\right )}\right ) \, dx,x,x^2\right )}{2 c d \sqrt {d-c^2 d x^2}}\\ &=\frac {b x^2 \sqrt {-1+c x} \sqrt {1+c x}}{4 c^3 d \sqrt {d-c^2 d x^2}}+\frac {x^3 \left (a+b \cosh ^{-1}(c x)\right )}{c^2 d \sqrt {d-c^2 d x^2}}+\frac {3 x (1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{2 c^4 d \sqrt {d-c^2 d x^2}}-\frac {3 \sqrt {-1+c x} \sqrt {1+c x} \left (a+b \cosh ^{-1}(c x)\right )^2}{4 b c^5 d \sqrt {d-c^2 d x^2}}-\frac {b \sqrt {-1+c x} \sqrt {1+c x} \log \left (1-c^2 x^2\right )}{2 c^5 d \sqrt {d-c^2 d x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.95, size = 192, normalized size = 0.85 \begin {gather*} \frac {-4 a c d x \left (-3+c^2 x^2\right )+12 a \sqrt {d} \sqrt {d-c^2 d x^2} \text {ArcTan}\left (\frac {c x \sqrt {d-c^2 d x^2}}{\sqrt {d} \left (-1+c^2 x^2\right )}\right )+b d \left (8 c x \cosh ^{-1}(c x)-\sqrt {\frac {-1+c x}{1+c x}} (1+c x) \left (6 \cosh ^{-1}(c x)^2-\cosh \left (2 \cosh ^{-1}(c x)\right )+8 \log \left (\sqrt {\frac {-1+c x}{1+c x}} (1+c x)\right )+2 \cosh ^{-1}(c x) \sinh \left (2 \cosh ^{-1}(c x)\right )\right )\right )}{8 c^5 d^2 \sqrt {d-c^2 d x^2}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(444\) vs.
\(2(196)=392\).
time = 5.73, size = 445, normalized size = 1.97
method | result | size |
default | \(-\frac {a \,x^{3}}{2 c^{2} d \sqrt {-c^{2} d \,x^{2}+d}}+\frac {3 a x}{2 c^{4} d \sqrt {-c^{2} d \,x^{2}+d}}-\frac {3 a \arctan \left (\frac {\sqrt {c^{2} d}\, x}{\sqrt {-c^{2} d \,x^{2}+d}}\right )}{2 c^{4} d \sqrt {c^{2} d}}+\frac {3 b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {c x -1}\, \sqrt {c x +1}\, \mathrm {arccosh}\left (c x \right )^{2}}{4 d^{2} c^{5} \left (c^{2} x^{2}-1\right )}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \mathrm {arccosh}\left (c x \right ) x^{3}}{2 d^{2} c^{2} \left (c^{2} x^{2}-1\right )}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {c x +1}\, \sqrt {c x -1}\, x^{2}}{4 d^{2} c^{3} \left (c^{2} x^{2}-1\right )}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {c x -1}\, \sqrt {c x +1}\, \mathrm {arccosh}\left (c x \right )}{d^{2} c^{5} \left (c^{2} x^{2}-1\right )}-\frac {3 b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \mathrm {arccosh}\left (c x \right ) x}{2 d^{2} c^{4} \left (c^{2} x^{2}-1\right )}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {c x -1}\, \sqrt {c x +1}}{8 d^{2} c^{5} \left (c^{2} x^{2}-1\right )}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {c x -1}\, \sqrt {c x +1}\, \ln \left (\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}-1\right )}{d^{2} c^{5} \left (c^{2} x^{2}-1\right )}\) | \(445\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{4} \left (a + b \operatorname {acosh}{\left (c x \right )}\right )}{\left (- d \left (c x - 1\right ) \left (c x + 1\right )\right )^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {x^4\,\left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )}{{\left (d-c^2\,d\,x^2\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________